package com.karry.yl.domain.elder;

import com.baomidou.mybatisplus.annotations.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.karry.commons.base.SuperEntity;

/**
 * 老人档案转入/转出记录
 */
@TableName("transfer")
public class Transefer extends SuperEntity {

    public static final int STATUS_DZ = 1;
    public static final int STATUS_YZ = 2;
    public static final int STATUS_BH = 3;
    @JsonSerialize(using = ToStringSerializer.class)
    private Long elderlyId;  //转院老人

    private String elderlyName;

    private String elderlyIdNo; //老人身份证号码

    private  Long fromId; //转出的养老机构

    private String fromName;

    private Long toId;    //转入的养老机构

    private String toName;

    private int status; //1:待转 2:已转  3:驳回

    private String msg;  //驳回原因

    public Long getElderlyId() {
        return elderlyId;
    }

    public void setElderlyId(Long elderlyId) {
        this.elderlyId = elderlyId;
    }

    public String getElderlyName() {
        return elderlyName;
    }

    public void setElderlyName(String elderlyName) {
        this.elderlyName = elderlyName;
    }

    public Long getFromId() {
        return fromId;
    }

    public void setFromId(Long fromId) {
        this.fromId = fromId;
    }

    public String getFromName() {
        return fromName;
    }

    public void setFromName(String fromName) {
        this.fromName = fromName;
    }

    public Long getToId() {
        return toId;
    }

    public void setToId(Long toId) {
        this.toId = toId;
    }

    public String getToName() {
        return toName;
    }

    public void setToName(String toName) {
        this.toName = toName;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getElderlyIdNo() {
        return elderlyIdNo;
    }

    public void setElderlyIdNo(String elderlyIdNo) {
        this.elderlyIdNo = elderlyIdNo;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
